package io.work1;

import java.io.FileInputStream;
import java.io.InputStreamReader;
import java.io.ObjectInputStream;

public class test4 {
    public static void main(String[] args) throws Exception {
        FileInputStream fis=new FileInputStream("osw.txt");
        InputStreamReader iis=new InputStreamReader(fis);
        int d;
        while((d=iis.read())!=-1){
            System.out.println((char)d);
        }
        iis.close();



    }
}
